package com.atguigu.yygh.sms.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zr
 * @date 2021/12/16 19:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "tengxun.sms")
public class SmsProperties {
    private String secretId;
    private String secretKey;
    private String appid;
    private String sign;
    private String templateID;
}